package com.example.designprinciple.dip;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-20
 * @Description：todo
 */
public class DependencyInversionTest {

    public static void main(String[] args) {
        Tom tom = new Tom();
        tom.studyJavaCourse();
        tom.studyPythonCourse();
        tom.study(new JavaCourse());
        tom.study(new PythonCourse());
    }
}
